/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.controller;

import org.springframework.web.bind.annotation.*;

/**
 * <p>Project: smvc2022 - IndexController
 * <p>Powered by webrx On 2022-04-07 09:36:38
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@RestController
@RequestMapping("/admin")
public class IndexController {
    @RequestMapping("/login")
    public String login() {
        return "login success";
    }

    @RequestMapping("/check")

    public String check() {
        return "check";
    }

    @RequestMapping("/add")
    public String add() {

        return "add";
    }

    @RequestMapping("/del")
    public String del() {

        return "del....";
    }
}
